/**
 * jims
 */
package com.jims.master.modules.doctor.medicalService.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * Entity
 * @author jicunteng
 * @version 2017-06-12
 */
public class DoctorAccessCount extends DataEntity<DoctorAccessCount> {
	
	private static final long serialVersionUID = 1L;
	private String doctorId;		// 医生id
	private String count;		// 访问量
	
	public DoctorAccessCount() {
		super();
	}

	public DoctorAccessCount(String id){
		super(id);
	}

	@Length(min=1, max=64, message="医生id长度必须介于 1 和 64 之间")
	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}
	
	@Length(min=1, max=64, message="访问量长度必须介于 1 和 64 之间")
	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}
	
}